package deviseMode.create.factory.factorymethod;


import deviseMode.create.factory.IComputer;
import deviseMode.create.factory.Xiaomi;

/**
 * Created by Tom.
 */
public class XiaomiFactory implements IComputerFactory {


    @Override
    public IComputer work() {
            return new Xiaomi();//实现具体工厂创建具体对象
    }
}
